package com.grq.framework.core.config;

import cn.hutool.core.convert.ConverterRegistry;
import com.grq.framework.core.prop.App;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
@EnableConfigurationProperties(App.class)
public class GrqCoreAutoConfig {

    @Bean
    public ConverterRegistry converterRegistry() {
        return ConverterRegistry.getInstance();
    }

}
